package com.sun.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sun.entity.Goods;
import com.sun.entity.Goodstype;
import com.sun.entity.Storage;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author rabbiter
 * @since 2023-01-06
 */
public interface GoodsService extends IService<Goods> {
    IPage pageCC(IPage<Goods> page, Wrapper wrapper);

    List<Goods> getMuban();

    Storage getStorageById(String storage);

    Goodstype getGoodstype(String goodstype);

    void updataForFile(Integer id, Integer count);
}
